home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Idle
/
PeriodicMethod.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
486b
|
28 lines
// PeriodicMethod.h
#ifndef PeriodicMethod_h
#define PeriodicMethod_h
#ifndef MethodOf_h
#include "MethodOf.h"
#endif
#ifndef Periodic_h
#include "Periodic.h"
#endif
template < class Target >
class PeriodicMethod: public MethodOf< Target >,
public Periodic
{
public:
PeriodicMethod( Target *t,
MemberType m,
uint32 period,
bool startEnabled = true )
: MethodOf<Target>( t, m ),
Periodic( *this, period, startEnabled )
{}
};
#endif